package com.memorypalace.biz;

import java.util.List;

import com.memorypalace.knowledge.pojo.KnowledgeTree;
import com.memorypalace.knowledge.pojo.Node;

public interface IKnowledgeTreeBiz {
	List<Node> getNodesByUsersKnowledgeTree(String userId,String knowledgeId);
	Integer addKnowledgeTree(KnowledgeTree knowledgeTree);
	KnowledgeTree getKnowledgeTree(String knowledgeId);
	Integer updateKnowledgeTree(KnowledgeTree knowledgeTree);
	Integer deleteKnowledgeTree(String knowledgeId);
}
